(library (lib utils url-utils)
  (export url-slug-components)
  (import
    (rnrs base)
    (only (guile) λ)
    ;; standard web library
    (web uri)
    ;; custom modules
    (prefix (logging) log:)))


(define url-slug-components
  (λ (slug)
    "Split a given slug into its components."
    (split-and-decode-uri-path slug)))
